#include "String.h"

int main()
{
	/*yss::string s1("aa");
	std::cout << s1.Cstr() << std::endl;
	std::cout << s1.Size() << std::endl;
	std::cout << s1.Capacity() << std::endl;

	yss::string s2(s1);
	std::cout << s2.Cstr() << std::endl;

	std::cout << std::endl;

	yss::string s3("yssss");
	yss::string s4;
	s4 = s3;
	std::cout << s3.Cstr() << std::endl;
	std::cout << s4.Cstr() << std::endl;

	yss::string s5("abcde");
	yss::string::iterator it = s5.begin();
	for (; it != s5.end(); it++)
	{
		std::cout << *it;
	}
	std::cout << std::endl;

	std::cout << s5[1] << std::endl;

	std::cout << s5.Cstr() << std::endl;
	std::cout << s5.Size() << std::endl;
	std::cout << s5.Capacity() << std::endl;
	s5.reserve(10);
	std::cout << s5.Cstr() << std::endl;
	std::cout << s5.Size() << std::endl;
	std::cout << s5.Capacity() << std::endl;
	std::cout << std::endl;

	yss::string s6("helloyss");
	std::cout << s6.Cstr() << std::endl;
	std::cout << s6.Size() << std::endl;
	std::cout << s6.Capacity() << std::endl;
	s6.resize(5, 'x');
	std::cout << s6.Cstr() << std::endl;
	std::cout << s6.Size() << std::endl;
	std::cout << s6.Capacity() << std::endl;
	std::cout << std::endl;*/

	/*yss::string s7("hello");
	s7.push_back('x');
	std::cout << s7.Cstr() << std::endl;

	yss::string s8("hello");
	s8.append("ssy");
	std::cout << s8.Cstr() << std::endl;

	std::cout << std::endl;
	
	yss::string s9("hello");
	s9 += 'p';
	std::cout << s9.Cstr() << std::endl;
	s9 += "vvv";
	std::cout << s9.Cstr() << std::endl;
	std::cout << std::endl;

	yss::string s10("hi yss");
	s10.insertch(1, 'm');
	std::cout << s10.Cstr() << std::endl;

	s10.insertstr(2, "qqqq");
	std::cout << s10.Cstr() << std::endl;*/

	/*yss::string s11("helloyss");
	s11.erase(2, 13);
	std::cout << s11.Cstr() << std::endl;

	yss::string s12("helloyss");
	yss::string s = s12.substr(3, 2);
	std::cout << s.Cstr() << std::endl;*/

	//yss::string s("hehehe");
	//std::cout << s << std::endl;


	yss::string s;
	std::cin >> s;
	std::cout << s << std::endl;
	return 0;
}